Layering Shader ParametersΒΆ

You can create layers of the shader input parameters by increasing the Parameters Layer attribute of the Shader node. This layering will blend the overriden parameters altogether using the Layer Blend attribute.

The Layer Blend attribute can also be assign a shader the same way any shading parameter, by either clicking the checkbox or drag and dropping the attribute name to another window a build a custom shading network.

Layer another texture using a projection

Add a new Shader node to the flow of objects to override

Click the Layer Blend checkbox and select the ProjectionTexture shader. Set the Projector to the projection camera.

Click the Diffuse -> Color checkbox and select the ProjectionTexture shader. Set the Projector to the projection camera, and set the projection texture using the File attribute.

The Diffuse Color is overriden only inside the projection cone, thanks to the Layer Blend attribute.

The same scene, without and with the Diffuse Color texture layered.

The layering of shader parameters is very helpful in various cases:

  • You can define the base layer as a generic crude look, and specialize the next layers for painted or custom edited shaders
  • You can very easily enhance replace parts of textures at a later stage in the prodution pipeline.